package com.fenghongzhang.broadcasttest;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class Main5Activity extends AppCompatActivity {
    private TextView value5;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main5);

        value5 = (TextView) findViewById(R.id.value5);


        Intent intent = getIntent();
        String name = intent.getStringExtra("name");

        value5.setText(name);
    }
}
